import { IsOptional, MaxLength } from 'class-validator'
import i18n, { i18nMessage } from '@/i18n'
import { ApiProperty } from '@nestjs/swagger'

export class MetaPlatformListDto {
  @ApiProperty({ description: i18n.t('app-meta.dto.meta-platform-list.12151170-0'), type: String })
  @MaxLength(64, { message: i18nMessage() })
  @IsOptional()
  label?: string
}
